package inventory.service;

import com.baomidou.mybatisplus.service.IService;
import inventory.entity.MaterialTypical;
import inventory.entity.po.MaterialBrandAndModelPo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sxt
 * @since 2019-11-06
 */
public interface MaterialTypicalService extends IService<MaterialTypical> {


    /**
     * 查询大的类别下对应的所有的类别
     * @return
     */
    List<String> queryTypicalByCategoryId(String id, String managerId);



    /**
     * 根据TypicalName查询对应的所有的品牌及每个品牌的型号信息
     * @param name
     * @return
     */
    List<MaterialBrandAndModelPo> queryMaterialBrandAndModelPoByTypicalName(String name,String managerId,String categoryId);


}
